@extends('layouts.member')

@section('content')
    <form action="{{route('member.avatar.store')}}" method="post">
        @csrf

        <div class="card border-0">
            <div class="card-header bg-white">
                头像设置
            </div>
            <div class="card-body">
                <x-form theme="image" title="" name="avatar" action="{{route('member.avatar.upload')}}"
                        value="{{old('avatar',user()->icon)}}"></x-form>
            </div>
            <div class="card-footer bg-white border-0">
                <button class="btn btn-primary ">保存</button>
            </div>
        </div>
    </form>



@endsection
